﻿@model Mestedur.ViewModels.QuestionOpenViewModel
@{
    ViewBag.Title = "GetTestOpenQuestion";
    Layout = "~/Views/Shared/_Layout.cshtml";
}
<h4><a href="/MainPage/Index"> Главная страница </a>/<a href="/Education/GetChapter/@ViewData["ChapterId"]"> @ViewData["Chapter"]</a>/Тест</h4>
<div class="text"> 
<h3>Тест</h3>

    
            <form action="/Test/AcceptAnswerForOpen">
            <input type="text" name="questionInQuizId" value="@Model.Id" style="visibility:hidden"/>
                
                <h2>@Html.LabelFor(x => x.Text):</h2>
                    <div class ="frameofquastion">
                        <div class ="textofquastion">
                            @Html.DisplayTextFor(x => x.Text)
                        </div>
                    </div>

                <h2>@Html.LabelFor(x => x.Answer):</h2>
                    <div class ="frameofanswer">
                        <div class ="textofanswer">
                            
                            <input type="text" name="AnswerText"/>
                        </div>
                    <div class ="button">
                        <input type="submit" value="Принять ответ"/>
                    </div>
            
            
      
        </form>
      
    



</div>

